package com.eshidai.simple_springboot.mq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class RabbitConfig {
	
	@Bean
	public Queue helloQueue() {
		return new Queue("hello-queue");
	}
	
	/*@Bean
	public Sender sender() {
		return new Sender();
	}
	
	public Receiver receiver() {
		return new Receiver();
	}*/
}
